From bc69003d96068102da46008481e5e449f2ef9b7d Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Fri, 9 Mar 2007 18:26:22 +0000 Subject: [PATCH] Revert 14316 -- no need to fix maxvcpu domctl. --- xen/common/domctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/domctl.c b/xen/common/domctl.c index b765964cb1..3a45586d65 100644 --- a/xen/common/domctl.c +++ b/xen/common/domctl.c @@ -360,7 +360,7 @@ long do_domctl(XEN_GUEST_HANDLE(xen_domctl_t) u_domctl) unsigned int i, max = op->u.max_vcpus.max, cpu; ret = -EINVAL; - if ( max > MAX_VIRT_CPUS || max == 0 ) + if ( max > MAX_VIRT_CPUS ) break; ret = -ESRCH; -- 2.30.2